// const innerAudioContext = uni.createInnerAudioContext();
const bgAudioMannager = uni.getBackgroundAudioManager();
// 声音播放
function lz_voice_Play(){
	bgAudioMannager.src = '/static/voice/ios.mp3';
	bgAudioMannager.play()
	bgAudioMannager.onPlay(() => {
	  console.log('开始播放');
	});
	bgAudioMannager.onError((res) => {
	  console.log(res.errMsg);
	  console.log(res.errCode);
	});
	// innerAudioContext.src = '/static/voice/ios.mp3';
	// innerAudioContext.play()
	// innerAudioContext.onPlay(() => {
	//   console.log('开始播放');
	// });
	// innerAudioContext.onError((res) => {
	//   console.log(res.errMsg);
	//   console.log(res.errCode);
	// });
}
module.exports ={
	lz_voice_Play
}